package Map_FirstLearn;

import java.util.*;

public class Map_FirstLearn {

	public static void main(String[] args) {

		Map<String, String> map = new HashMap<String, String>();

		map.put("111", "1");
		map.put("112", "2");
		map.put("113", "3");

		Set<String> key = map.keySet();

		for (String s : key) {
			if (s == "111") {
				System.out.println(map.get(s));
			}
		}

		Set<Map.Entry<String, String>> mapp = map.entrySet();
		for (Map.Entry<String, String> a : mapp) {
			String b = a.getKey();
			String c = a.getValue();
			System.out.println(b+","+c);

		}

	}

}
